# 作用：do while 循环
# 作者：霜white
# 时间：2016-12-29

n = 100

sum = 0
conuter = 1
while conuter <= n:
    sum = sum + conuter
    conuter += 1

print("1 到 %d 之和为： %d " % (n, sum))